Woocommerce\Pagarme\Controller\Gateways\AbstractGateway S

Total Complexity 36
Dependencies 13
Dependents 5
Total lines 356
Lines of code 172
Logical lines of code 83
Comment lines 94
Methods 22
Properties 12

Methods 22

Method Rating Maintainability Complexity Lines of code
saveAdminOptionsInCoreConfig()
S
61 4 12
pagarme_email_payment_info()
S
65 4 9
process_payment()
S
59 3 15
__construct()
S
48 2 29
thank_you_page()
S
59 2 16
append_gateway_form_fields()
S
72 2 6
beforeAddAdminOptions()
S
68 2 7
getTitle()
S
71 2 6
beforeUpdateAdminOptions()
S
68 2 7
field_enabled()
S
60 1 13
isGatewayType()
S
81 1 3
payments_scripts()
S
70 1 6
field_title()
S
66 1 8
jsUrl()
S
79 1 3
gateway_form_fields()
S
82 1 3
payment_fields()
S
75 1 4
append_form_fields()
S
82 1 3
hasSubscriptionSupport()
S
82 1 3
getPaymentMethodTitle()
S
77 1 3
checkout_transparent()
S
74 1 4
receipt_page()
S
81 1 3
init_form_fields()
S
66 1 9